<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 16372
  Date: 2022/1/7
  Time: 18:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>添加品牌</title>
</head>
<body>
<h3>添加品牌</h3>
<form action="/brand?action=update" method="post">
    <input type="hidden" name="id" value="${brand.id}">
    品牌名称：<input name="brandName" value="${brand.brandName}"><br>
    企业名称：<input name="companyName" value="${brand.companyName}"><br>
    排序：<input name="ordered" value="${brand.ordered}"><br>
    描述信息：<textarea rows="5" cols="20" name="description"> ${brand.description}</textarea><br>
    状态：
    <input type="radio" name="status" value="0" ${brand.status == 0 ? "checked":""}>禁用
    <input type="radio" name="status" value="1"  ${brand.status == 1 ? "checked":""}>启用<br>

    <input type="submit" value="提交">
</form>
</body>
</html>
